<?php


namespace apps\marriage\app\mp\controller;


use think\Exception;

class TestController extends BaseMarriageMpController
{

    protected function init()
    {
        parent::init();
        if(!\request()->isCli()) {
            throw new Exception('is hack.');
        }
    }
}